package com.design.yjx.templatemethod;

/**
 * @author yuanjianxin
 * @date 2017/8/22 11:16
 */
public class Main {
    public static void main(String[] args) {
        CaffeineBeverage caffeineBeverage = new Tea();
        caffeineBeverage.prepareRecipe();


        System.out.println("-----------------");

        Coffee coffee = new Coffee();
        coffee.prepareRecipe();

    }
}
